package com.yugu.park.system.mapper;

import com.yugu.park.dto.TreeNode;
import com.yugu.park.system.entity.SysMenuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

/**
 * 菜单权限表
 *
 * @author guxf
 * @email sjzyug@163.com
 * @date 2023-08-17 15:04:07
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenuEntity> {
	List<SysMenuEntity> page(@Param("info") SysMenuEntity search);

	List<SysMenuEntity> selectMenuList(@Param("param")Map<String, String> param);
	/**
	 * 树形结构的数据
	 * @return
	 */
	List<TreeNode> selectTree();
}
